package com.ruoyi.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ruoyi.domain.SysDictData;

public interface SysDictDataMapper {

	List<SysDictData> selectDictDataByType(String dictType);

	List<SysDictData> selectDictDataList(SysDictData dictData);

	int updateDictDataType(@Param("oldDictType") String dictType, @Param("newDictType") String dictType2);

	int countDictDataByType(String dictType);

	SysDictData selectDictDataById(Long dictCode);

	int insertDictData(SysDictData dictData);

	int updateDictData(SysDictData dictData);

	int deleteDictDataById(Long dictCode);	
}
